package com.ming.test.page;

public class FunClass {
    private String name;

    public String getName(String name) {
        this.name = name;
        return this.name;
    }

    public static int getAge(int age){
        return age;
    }

    public static void main(String[] args){
        FunClass funClass = new FunClass();
        String name = funClass.getName("小明");
        int age = getAge(17);
        System.out.println("我的名字叫"+name);
        System.out.println("我的年龄是"+age);
    }
}